<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page import="org.springframework.web.context.WebApplicationContext" %>
<%@ page import="org.springframework.web.context.support.WebApplicationContextUtils" %>
<%@ page import="com.lnkwe.config.BaseConfig" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="../common/common.jsp" %>
<%
    WebApplicationContext wac= WebApplicationContextUtils.getWebApplicationContext(request.getServletContext());
    BaseConfig baseConfig = (BaseConfig)wac.getBean("baseConfig");
    request.setAttribute("baseConfig",baseConfig);
%>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta name='viewport' content='width=device-width, initial-scale=1'/>
    <link href="${path}/static/css/reset.css?v=1.0.0" rel="stylesheet">
    <link href="${path}/static/css/temporary.css" rel="stylesheet">
    <link href="${path}/static/css/bootstrap.min.css" rel="stylesheet">
    <link href="${path}/static/css/uploadify.css?v=1.0.0" rel="stylesheet">
    <script>
        var G_Path = {
            path: "${path}"
        };
    </script>
</head>
<body>
<div class="zp_dialog_content">
    <form id="mainForm" style="position: relative">
        <div class="zp_line">
            <input id="name" name="name" type="text" value="${model.name}"  placeholder="学校名称" class="zp_educaiotn_text">
        </div>
        <div class="zp_line">
            <input id="major" name="major" placeholder="所学专业" type="text" value="${model.major}" class="zp_educaiotn_text"
            >
        </div>
        <div class="zp_line zp_bottom">
            <input id="education" name="education" type="hidden" value="${model.education}"
            >
            <input type="text" class="zp_data" placeholder="学历" id="educationName" name="educationName">
            <input type="text" class="zp_data" placeholder="毕业时间" id="startTime" name="startTime">
        </div>
    </form>
</div>
<script src="/static/js/jquery.min.js?v=2.1.4"></script>
<script src="/static/js/bootstrap.min.js?v=3.3.5"></script>
<script src="/static/js/content.min.js?v=1.0.0"></script>
<script src="/static/js/temporary.js"></script>
<script src="/static/js/plugins/dialog/dialog-min.js"></script>
<script src="/static/js/plugins/dialog/dialog-plus-min.js"></script>
<script src="/static/js/cateDialog.js"></script>
<script src="/static/js/admin/resumeAdd.js"></script>
<script type="text/javascript">
    var id = "${model.id}";
    var staticServer="${baseConfig.staticServer}";
    $("#educationName").click(function () {
        $("#educationName").cate({
            title: "",
            url: G_Path.path + "/sys/tag/category",
            param: {"dictCode": "EDUCATION"},
            liveSearch: false,
            "id": "education",
            "name": "educationName"
        });
    });

</script>
</body>
</html>
